package com.qf.dao;

import com.qf.pojo.City;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface CityMapper {
    //取车地址、还车地址的数据查询
    List<City> findAllCity(@Param("id") int id);

    //回显取车地址、还车地址
    City findCityById(@Param("id") int id);

    //根据city的pid找到城市
    City findCityByPid(@Param("pid") int pid);
}
